home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / os2 / gnuwget.zip / wget-1.4.3 / config.h < prev    next >
Text File  |  1997-02-14  |  6KB  |  194 lines

  1. /* config.h.  Generated automatically by configure.  */
  2. /* Configuration header file.
  3.    Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
  4.    
  5.    This program is free software; you can redistribute it and/or modify
  6.    it under the terms of the GNU General Public License as published by
  7.    the Free Software Foundation; either version 2 of the License, or
  8.    (at your option) any later version.
  9.    
  10.    This program is distributed in the hope that it will be useful,
  11.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.    GNU General Public License for more details.
  14.    
  15.    You should have received a copy of the GNU General Public License
  16.    along with this program; if not, write to the Free Software
  17.    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19.  
  20. #ifndef CONFIG_H
  21. #define CONFIG_H
  22.  
  23. /***
  24.  * User Configuration Section
  25.  *
  26.  * Most of these settings should work as they are, and you should fix
  27.  * them only if you wish to change the behaviour of the program, or to
  28.  * compile it on a particular system.
  29.  *
  30.  * Global settings like DEFAULT_MAXRECLEVEL or DEFAULT_NUMBER_OF_TRIES
  31.  * should be rather changed in the global wgetrc file than here.  But
  32.  * still -- you can do it.
  33.  ***/
  34.  
  35. /* Define this as read timeout. */
  36. #define DEFAULT_TIMEOUT 900
  37.  
  38. /* Define your own host and domain. */
  39. #define MY_HOST "martini"
  40. #define MY_DOMAIN "zfn.uni-bremen.de"
  41.  
  42. #define DEFAULT_LOGFILE "wget-log"
  43.  
  44. #define DEFAULT_NUMBER_OF_TRIES 20     /* modified with -t */
  45.  
  46. #define DEFAULT_MAXRECLEVEL 5          /* modified with -l */
  47.  
  48. #define DEFAULT_DIRMODE 0755           /* modified with dir_mode */
  49.  
  50. #define DEFAULT_DIRPREFIX "."          /* modified with -P */
  51.  
  52. /* Undef if you do not want debug support. */
  53. #define DEBUG
  54.  
  55. /***********************************
  56.   End of user-configuration section
  57.   ***********************************/
  58.  
  59. #ifndef DEBUG
  60. #  define NDEBUG /* To kill off assertions */
  61. #endif /* DEBUG */
  62.  
  63. /* Define if on AIX 3.
  64.    System headers sometimes define this.
  65.    We just want to avoid a redefinition error message.  */
  66. #ifndef _ALL_SOURCE
  67. /* #undef _ALL_SOURCE */
  68. #endif
  69.  
  70. /* Define to empty if the keyword does not work.  */
  71. /* #undef const */
  72.  
  73. /* Define to `unsigned' if <sys/types.h> doesn't define.  */
  74. /* #undef size_t */
  75.  
  76. /* Define if you have the ANSI C header files.  */
  77. /* #undef STDC_HEADERS */
  78.  
  79. /* Define as the return type of signal handlers (int or void).  */
  80. #define RETSIGTYPE void
  81.  
  82. /* Define if you have sys/time.h header. */
  83. #define HAVE_SYS_TIME_H 1
  84.  
  85. /* Define if you can safely include both <sys/time.h> and <time.h>.  */
  86. #define TIME_WITH_SYS_TIME 1
  87.  
  88. /* Define if you have struct utimbuf.  */
  89. #define HAVE_STRUCT_UTIMBUF 1
  90.  
  91. /* Define if you have the getdomainname function.  */
  92. /* #undef HAVE_GETDOMAINNAME */
  93.  
  94. /* Define if you have the gethostname function.  */
  95. /* #undef HAVE_GETHOSTNAME */
  96.  
  97. /* Define if you have the select function.  */
  98. #define HAVE_SELECT 1
  99.  
  100. /* Define if you have the gettimeofday function.  */
  101. #define HAVE_GETTIMEOFDAY 1
  102.  
  103. /* Define if you have the strdup function.  */
  104. #define HAVE_STRDUP 1
  105.  
  106. /* Define if you have the sys/utsname.h header. */
  107. #define HAVE_SYS_UTSNAME_H 1
  108.  
  109. /* Define if you have the sys/systeminfo.h header. */
  110. /* #undef HAVE_SYS_SYSTEMINFO_H */
  111.  
  112. /* Define if you have the sysinfo function.  */
  113. /* #undef HAVE_SYSINFO */
  114.  
  115. /* Define if you have the strerror function. */
  116. #define HAVE_STRERROR 1
  117.  
  118. /* Define if you have the strstr function. */
  119. #define HAVE_STRSTR 1
  120.  
  121. /* Define if you have the strcasecmp function. */
  122. /* #undef HAVE_STRCASECMP */
  123.  
  124. /* Define if you have the strncasecmp function. */
  125. /* #undef HAVE_STRNCASECMP */
  126.  
  127. /* Define if you have the strptime function. */
  128. #define HAVE_STRPTIME 1
  129.  
  130. /* Define if you have the mktime function. */
  131. #define HAVE_MKTIME 1
  132.  
  133. /* Define if you have the symlink function. */
  134. /* #undef HAVE_SYMLINK */
  135.  
  136. /* Define if you have the signal function. */
  137. #define HAVE_SIGNAL 1
  138.  
  139. /* Define if you have the <string.h> header file.  */
  140. #define HAVE_STRING_H 1
  141.  
  142. /* Define if you have the <unistd.h> header file.  */
  143. #define HAVE_UNISTD_H 1
  144.  
  145. /* Define if you have the <utime.h> header file.  */
  146. #define HAVE_UTIME_H 1
  147.  
  148. /* Define if you have the <sys/utime.h> header file.  */
  149. #define HAVE_SYS_UTIME_H 1
  150.  
  151. /* Define if you have the <sys/select.h> header file.  */
  152. #define HAVE_SYS_SELECT_H 1
  153.  
  154. /* Define if you have the <pwd.h> header file.  */
  155. #define HAVE_PWD_H 1
  156.  
  157. /* Define if you have the <signal.h> header file.  */
  158. #define HAVE_SIGNAL_H 1
  159.  
  160. /* Define to be the name of the operating system.  */
  161. #define OS_TYPE "none"
  162.  
  163. /* Define if you wish to compile with socks support.  */
  164. /* #undef HAVE_SOCKS */
  165.  
  166. /* Define to 1 if ANSI function prototypes are usable.  */
  167. #define PROTOTYPES 1
  168.  
  169. /* If the user has socks, use it.  */
  170. #ifdef HAVE_SOCKS
  171. #define connect Rconnect
  172. #define getsockname Rgetsockname
  173. #define bind Rbind
  174. #define accept Raccept
  175. #define listen Rlisten
  176. #define select Rselect
  177. #endif /* HAVE_SOCKS */
  178.  
  179. /* SunOS brain damage... */
  180. #ifndef STDC_HEADERS
  181. char *strstr();
  182. char *strchr();
  183. void *memcpy();
  184. #endif /* STDC_HEADERS */
  185.  
  186. #ifndef HAVE_STRERROR
  187. #  define mystrerror(x) (sys_errlist[x])
  188. extern char *sys_errlist[];
  189. #else /* not HAVE_STRERROR */
  190. #  define mystrerror(x) strerror(x)
  191. #endif /* HAVE_STRERROR */
  192.  
  193. #endif /* CONFIG_H */
  194.